﻿@model WebUI.Models.Tables.SystemParam
@{
    ViewBag.Title = "系统设置";
}
@section head{
    <link href="~/Areas/Admin/Content/table.css" rel="stylesheet" />
}
<div class="easyui-tabs" fit="true" plain="true">
    <div title="常规设置" style="padding:10px">
        @using (Html.BeginForm("SaveMain", "System", new { current = 0 }))
        {
            @Html.AntiForgeryToken()
            <table class="admin-table" border="1">
                <thead>
                    <tr>
                        <td class="name">名称</td>
                        <td class="context">内容</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.SiteName)</td>
                        <td class="context">@Html.EditorFor(m => m.SiteName)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.SiteTitle)</td>
                        <td class="context">@Html.EditorFor(m => m.SiteTitle)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.SiteKeywords)</td>
                        <td class="context">@Html.EditorFor(m => m.SiteKeywords)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.SiteDescription)</td>
                        <td class="context">@Html.EditorFor(m => m.SiteDescription)</td>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.SiteLogo)</td>
                        <td class="context">@Html.EditorFor(m => m.SiteLogo)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.ICP)</td>
                        <td class="context">@Html.EditorFor(m => m.ICP)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.Tel)</td>
                        <td class="context">@Html.EditorFor(m => m.Tel)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.Fax)</td>
                        <td class="context">@Html.EditorFor(m => m.Fax)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.QQ)</td>
                        <td class="context">@Html.EditorFor(m => m.QQ)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.Email)</td>
                        <td class="context">@Html.EditorFor(m => m.Email)</td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" value="提交" /></td>
                    </tr>
                </tbody>
            </table>
        }
    </div>
    <div title="显示设置" style="padding:10px">
        @using (Html.BeginForm("SaveDisplay", "System", new { current = 0 }))
        {
            @Html.AntiForgeryToken()
            <table class="admin-table" border="1">
                <thead>
                    <tr>
                        <td class="name">名称</td>
                        <td class="context">内容</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.DisplayProduct)</td>
                        <td class="context">@Html.EditorFor(m => m.DisplayProduct)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.DisplayArticle)</td>
                        <td class="context">@Html.EditorFor(m => m.DisplayArticle)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.DisplayGuestbook)</td>
                        <td class="context">@Html.EditorFor(m => m.DisplayGuestbook)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.HomeDisplayProduct)</td>
                        <td class="context">@Html.EditorFor(m => m.HomeDisplayProduct)</td>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.HomeDisplayArticle)</td>
                        <td class="context">@Html.EditorFor(m => m.HomeDisplayArticle)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.ThumbWidth)</td>
                        <td class="context">@Html.EditorFor(m => m.ThumbWidth)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.ThumbHeight)</td>
                        <td class="context">@Html.EditorFor(m => m.ThumbHeight)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.PriceDecimal)</td>
                        <td class="context">@Html.EditorFor(m => m.PriceDecimal)</td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" value="提交" /></td>
                    </tr>
                </tbody>
            </table>
        }
    </div>
    <div title="自定义" style="padding:10px">
        @using (Html.BeginForm("SaveDefined", "System", new { current = 0 }))
        {
            @Html.AntiForgeryToken()
            <table class="admin-table" border="1">
                <thead>
                    <tr>
                        <td class="name">名称</td>
                        <td class="context">内容</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.DefinedProduct)</td>
                        <td class="context">@Html.EditorFor(m => m.DefinedProduct)</td>
                    </tr>
                    <tr>
                        <td class="name">@Html.DisplayNameFor(m => m.DefinedArticle)</td>
                        <td class="context">@Html.EditorFor(m => m.DefinedArticle)</td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" value="提交" /></td>
                    </tr>
                </tbody>
            </table>
        }
    </div>
</div>